Skip to content

rust block-mq TagSet flags plumbing and rnull blocking wiring#730

Open
blktests-ci[bot] wants to merge 2 commits intolinus-master_basefrom
series/1079650=>linus-master
Open

rust block-mq TagSet flags plumbing and rnull blocking wiring#730
blktests-ci[bot] wants to merge 2 commits intolinus-master_basefrom
series/1079650=>linus-master

Conversation

@blktests-ci
Copy link
Copy Markdown

@blktests-ci blktests-ci Bot commented Apr 10, 2026

Pull request for series with
subject: rust block-mq TagSet flags plumbing and rnull blocking wiring
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1079650

@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Apr 10, 2026

Upstream branch: 9a9c8ce
series: https://patchwork.kernel.org/project/linux-block/list/?series=1079650
version: 1

@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Apr 13, 2026

Upstream branch: 028ef9c
series: https://patchwork.kernel.org/project/linux-block/list/?series=1079650
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1079650=>linus-master branch from 98fddac to 6bd8420 Compare April 13, 2026 06:23
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 8f17195 to 6b4d829 Compare April 14, 2026 06:46
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Apr 14, 2026

Upstream branch: d60bc14
series: https://patchwork.kernel.org/project/linux-block/list/?series=1079650
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1079650=>linus-master branch from 6bd8420 to 380cec2 Compare April 14, 2026 06:50
@kawasaki kawasaki closed this Apr 21, 2026
@blktests-ci blktests-ci Bot reopened this Apr 21, 2026
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Apr 21, 2026

Upstream branch: b4e0758
series: https://patchwork.kernel.org/project/linux-block/list/?series=1079650
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1079650=>linus-master branch from 380cec2 to 72ebaa4 Compare April 21, 2026 07:05
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from ceec5ed to 3b54e52 Compare April 22, 2026 20:20
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Apr 22, 2026

Upstream branch: 6596a02
series: https://patchwork.kernel.org/project/linux-block/list/?series=1079650
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1079650=>linus-master branch from 72ebaa4 to 46cf338 Compare April 22, 2026 20:29
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 3b54e52 to 6a0b974 Compare April 23, 2026 16:58
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Apr 23, 2026

Upstream branch: 507bd4b
series: https://patchwork.kernel.org/project/linux-block/list/?series=1079650
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1079650=>linus-master branch from 46cf338 to 1195660 Compare April 23, 2026 17:07
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 6a0b974 to 59ca59b Compare April 24, 2026 00:56
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Apr 24, 2026

Upstream branch: dd6c438
series: https://patchwork.kernel.org/project/linux-block/list/?series=1079650
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1079650=>linus-master branch from 1195660 to cf0059f Compare April 24, 2026 01:04
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch 2 times, most recently from 94f0438 to 857ada9 Compare April 24, 2026 07:54
lwz23 added 2 commits April 24, 2026 16:59
TagSet::new() currently hardcodes blk_mq_tag_set.flags to 0.

That prevents Rust block drivers from declaring blk-mq queue flags.

Introduce TagSetFlags as a typed wrapper for BLK_MQ_F_* bits.

Add TagSet::new_with_flags() so drivers can pass flags explicitly.

Keep TagSet::new() as a compatibility wrapper using empty flags.

Re-export TagSetFlags from kernel::block::mq for driver imports.

Build-tested with LLVM=-15 in an out-of-tree rust-next build.

Validation includes vmlinux and drivers/block/rnull/rnull_mod.ko.

Signed-off-by: Wenzhao Liao <[email protected]>
Add a new configfs boolean attribute named blocking.

Advertise blocking in the rnull features list.

On power-on, map blocking=1 to TagSetFlags::BLOCKING.

Create the tag set with TagSet::new_with_flags().

Keep default blocking=0 to preserve existing behavior.

Like other parameters, blocking writes return -EBUSY while powered on.

Validated with LLVM=-15 out-of-tree builds and QEMU runtime tests.

Signed-off-by: Wenzhao Liao <[email protected]>
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Apr 24, 2026

Upstream branch: dd6c438
series: https://patchwork.kernel.org/project/linux-block/list/?series=1079650
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1079650=>linus-master branch from cf0059f to 498eaf1 Compare April 24, 2026 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants